#ifndef __USART3_H
#define	__USART3_H

#include "stm32f10x.h"
//#include <stdio.h>

#define RS485_RX_BUFFER_SIZE_U3  128
#define RS485_RX_BUFFER_SIZE_U2 128


void RS485_SendBytes_U3(const uint8_t *bytes, int len);
void RS485_SendByte_U3(unsigned char SendData);
void RS485_SendString_U3(const char *str);
void USART3_init(void);
int RS485_Get_Reveived_Data_U3(uint8_t *buffer, int buffer_size);
void RS485_Reset_Buffer_U3(void);

#endif /* __USART3_H */
